@mixin trans{
    position: absolute;
    top:50%;
    left:50%;
    transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,50%);
}
@mixin transleft{
    position: absolute;
    left:50%;
    transform: translateX(-50%);
    -ms-transform: translateX(-50%);
}
@mixin transtop{
    position: absolute;
    top:50%;
    transform: translateY(-50%);
    -ms-transform: translateY(-50%);
}
body.index{
    width:100%;
    background: #f4f4f4;
    padding-top: 100px;
    box-sizing: border-box;
}
.nav{
    width:100%;
    height: 61px;
    background: #014f97;
    text-align: center;
    ul{
        width: 800px;
        margin:0 auto;
        li{
           float: left;
           font-size: 20px;
           color: #fff;
           border-right: 1px solid #033163;
           width: 146px;
           height:100%;
           text-align: center;
           line-height: 61px;
           position: relative;
           &:after{
               content: '';
               position: absolute;
               right: 0px;
               width:1px;
               height: 100%;
               background: #4778c7;
           }
           &:last-child{
                border-right:none;
                &:after{
                    content: '';
                    width:0px;
                }
           }
           a{
               color: inherit;
           }
        }
    }
}
.main{
    width:1035px;
    height: 865px;
    margin:0 auto 25px;
    .top{
        width:100%;
        height: 70px;
        padding: 0 20px;
        box-sizing: border-box;
        line-height: 70px;
        .pos{
            vertical-align: middle;
        }
        .sear{
            float: right;
            width:410px;
            height: 44px;
            border-radius: 20px;
            background: rgba(229,229,229,.4);
            margin-top:14px;
            position: relative;
            input{
                width:90%;
                position: absolute;
                top:50%;
                transform: translateY(-50%);
                -ms-transform: translateY(-50%);
                height: 31px;
                padding-left: 15px;
                margin-left:8px;
                border:none;
                border-radius: 20px;
                outline: none;
            }
            .btn_seh{
                position: absolute;
                right:0;
                top:50%;
                transform: translateY(-50%);
                -ms-transform: translateY(-50%);
                width:90px;
                height: 31px;
                border-top-right-radius: 10px;
                border-bottom-right-radius: 10px;
                display: inline-block;
                background: #0177d7;
                text-align: center;
                cursor: pointer;
                img{
                    display: inline-block;
                    @include trans;
                }
                &:hover{
                    background: #758fc4;
                }
            }
        }
    }
    .article{
        width:100%;
        height: 790px;
        border:1px solid #d8d8d9;
        .silde{
            width:242px;
            height: 100%;
            background: #fff;
            display: inline-block;
            .switch{
                width:100%;
                height: 40px;
                border-bottom: 1px solid #ccc;
                ul{
                    li{
                        float: left;
                        width: 50%;
                        height: 100%;
                        text-align: center;
                        line-height: 40px;
                        font-size: 14px;
                        color: #646464;
                        cursor: pointer;
                        &.cur{
                            border-bottom: 1px solid #1985db;
                        }
                    }
                }
            }
            .sli_sear{
                width:219px;
                height: 40px;
                border:1px solid #cdcdcd;
                margin:15px auto;
                position: relative;
                input{
                    width:100%;
                    padding:0 15px;
                    box-sizing: border-box;
                    line-height: 40px;
                    font-size: 14px;
                    border: none;
                    outline: none;
                }
                img{
                    @include transtop;
                    right:15px;
                    cursor: pointer;
                }
            }
            .txt{
                padding: 0 10px;
                box-sizing: border-box;
                font-size: 14px;
                color: #646464;
                p{
                    line-height: 35px;
                    a{
                        color: inherit;
                    }
                }
            }
        }
        .map{
            width:793px;
            float: right;
            height: 100%;
            background: url(../img/map_example.png) no-repeat center;
        }
    }
}
footer{
    position: relative !important;
    background: #014f97 !important;
}
